<!DOCTYPE html>
<html>
  <head>
    <title>e01.html</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  	
  	<script type="text/javascript" src="../js/jquery-1.11.1.js"></script>
  	<script type="text/javascript">
  		$(function(){
  			$('#a1').bind('click',function(){
  				$('#d1').html('hello java');
  			});
  			
  		});
  	</script>
  </head>
  <body>
  	<!-- 绑定事件处理函数 -->
  	<!-- 
  		$obj.bind(事件类型，事件处理函数);
  		比如：$obj.bind('click',fn);
  	 -->
	<div id="d1">hello jQuery</div>
	<a href="javascript:;" id="a1">绑定事件处理函数</a>
  </body>
</html>
